//
//  HZZFUtilsKit-code
//
//  Created by 早范 on 2025/1/29.
//  
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIApplication (HZZF)

- (NSString *)HZZF_ua;

- (NSError *)setApplicationUa:(NSString *)ua;

/// "Documents"在沙盒中文件夹路径
@property (nonatomic, readonly) NSURL *HZZF_documentsURL;
@property (nonatomic, readonly) NSString *HZZF_documentsPath;

/// "Caches"在沙盒中文件夹路径
@property (nonatomic, readonly) NSURL *HZZF_cachesURL;
@property (nonatomic, readonly) NSString *HZZF_cachesPath;

/// "Library"在沙盒中文件夹路径
@property (nonatomic, readonly) NSURL *HZZF_libraryURL;
@property (nonatomic, readonly) NSString *HZZF_libraryPath;

/// Application's Bundle Name (show in SpringBoard).
@property (nullable, nonatomic, readonly) NSString *HZZF_appBundleName;

/// Application's Bundle ID.  e.g. "com.XXX.MyApp"
@property (nullable, nonatomic, readonly) NSString *HZZF_appBundleID;

/// Application's Version.  e.g. "1.2.0"
@property (nullable, nonatomic, readonly) NSString *HZZF_appVersion;

/// Application's Build number. e.g. "123"
@property (nullable, nonatomic, readonly) NSString *HZZF_appBuildVersion;

/// app是否是盗版(不是从app store下载的)
@property (nonatomic, readonly) BOOL HZZF_isPirated;

/// app是否正在被调试
@property (nonatomic, readonly) BOOL HZZF_isBeingDebugged;


@end

NS_ASSUME_NONNULL_END
